<%@ page import="com.dzxcqmxm.JB.User" %><%--
  Created by IntelliJ IDEA.
  User: Payboi
  Date: 2022/5/24
  Time: 18:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    //拿到刚刚的session对象并赋值给customer
    User user = (User) session.getAttribute("user");
    if(user==null){
        out.println("没有用户信息");
    }else{

        out.println("<td>用户名："+user.getUserName()+"</td>"+"</br>");
        out.println("<td>用户密码："+user.getUserPwd()+"</td>"+"</br>");


    }
%>
<a href="/dzxc/indexUserServlet">返回首页</a>

</body>
</html>
